package com.dcs.cn.item.mapper;

import cn.com.dcsgo.api.dto.OrderDetailDTO;
import com.dcs.cn.item.domain.po.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author xzq
 * @since 2025-03-09
 */
@Mapper
public interface ItemMapper extends BaseMapper<Item> {

    public int updateDeductStock(OrderDetailDTO items);

    public int updateAddStock(OrderDetailDTO items);
}
